@javax.persistence.NamedQueries({
	@javax.persistence.NamedQuery(name="bet.unnotifiedBySystem", query="select b from Bet b join b.lottery l where b.notified = false and b.sourceSystemId = :sourcesystemid and l.onGoing = false"),
	@javax.persistence.NamedQuery(name="lottery.onGoing", query="select l from Lottery l where l.onGoing = true"),
	@javax.persistence.NamedQuery(name="bet.winners", query="select b from Bet b where b.resultBetted = :lottResult")
})
package lottery.impl;